﻿using System;
using System.Collections.Generic;

namespace Me.Practice.ElevatorEngine.Domain.Entity
{
    [Serializable]
	public class BuildingReport
	{
		public BuildingReport(Init init)
		{
		    FloorCount = init.FloorCount;
		    ElevatorCount = init.ElevtorCount;
		    FloorReports = init.FloorReports;
		    ElevatorReports = init.ElevatorReports;
		}

	    public int FloorCount { get; private set; }
	    public int ElevatorCount { get; private set; }
        public IEnumerable<FloorReport> FloorReports { get; private set; }
        public IEnumerable<ElevatorReport> ElevatorReports { get; private set; }

	    public class Init
        {
            public int FloorCount { get; set; }
            public int ElevtorCount { get; set; }
            public IEnumerable<FloorReport> FloorReports { get; set; }
            public IEnumerable<ElevatorReport> ElevatorReports { get; set; }
        }
	}
}
